function chartInit4() {
  var chartDom = document.getElementById('echarts4');
  var myChart = echarts.init(chartDom);
  let lab = {
    show: true,
    position: 'top',
    color: '#ffffff'
  }
  let yData = [333,555,666,888]
  let option = {
    legend: {
      bottom: 0
    },
    grid: {
      top: 20,
      bottom: 10,
      right: 15,
      left: 10,
      containLabel: true
    },
    xAxis: {
      type: 'category',
      axisLabel: {
        interval: 0,
      },
      data: [700, 500, 300, 100],
      axisLine: {
        lineStyle: {
          color: '#b4cbff'
        }
      }
    },
    yAxis: {
      axisLine: {
        lineStyle: {
          color: '#b4cbff'
        }
      },
      splitLine: {
        lineStyle: {
          color: '#b4cbff'
        }
      }
    },
    series: [{
      type: 'bar',
      data: yData,
      label: lab,
      barWidth: 10,
      itemStyle: {
        color: function(params) {
          let str = '#91b2ff'
          if (params.data == 666) {
            str = '#ffaa05'
          }
          return str
        },
        barBorderRadius: [50, 50, 0, 0]
      },
      markLine: {
        lineStyle: {
          type: 'dashed',
          color: '#ffaa05'
        },
        silent: true,
        label: {
          show: false
        },
        symbol: ['circle', 'circle'],
        data: [{
          yAxis: 666
        }]
      }
    }]
  }
  myChart.setOption(option);
}
